package com.example.compreshensiveshop.service;

import com.example.compreshensiveshop.dto.CustomerUpdateDTO;
import com.example.compreshensiveshop.po.CustomerPO;
import com.example.compreshensiveshop.vo.CustomerMessageVO;

/**
 * Customer Service Interface
 */
public interface CustomerService {

    CustomerMessageVO queryMessage(Long customerId);

    void updateMessage(CustomerUpdateDTO customerUpdateDTO);

    void updateAvatar(Long customerId, String avatarUrl);

    CustomerPO queryById(Long customerId);

    Long queryCustomerId(Long id);

    void addCustomer(Long id);

    CustomerMessageVO queryByUserId(Long userId);

    String queryCustomerAddress(Long customerId);

    String queryMessageById(Long customerId);
}